﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BasicData.Domain
{
    /// <summary>
    /// 用户实体表
    /// </summary>
    public class UserModel
    {
        /// <summary>
        ///用户Id
        /// </summary>
        [Key]
        public int UserId { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string UserNickName { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool Status { get; set; }


        /// <summary>
        /// 字段明细编码
        /// </summary>
        public string? DictItemCode { get; set; }
        /// <summary>
        /// 字典明细名称
        /// </summary>
        public string? DictItemName { get; set; }

        /// <summary>
        /// 删除标志
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
